/*
 * @Author: daidai
 * @Date: 2022-01-12 14:22:29
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-04-28 14:53:02
 * @FilePath: \web-pc\src\pages\big-screen\router\index.js
 */
import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [ 
{
  path: '/',
  redirect: '/index',
},
{
  path: '/home',
  name: 'home',
  component: () => import(/* webpackChunkName: "LSD.bighome" */ '../views/home.vue'),
  children:[
    {
      path: '/index',
      name: 'index',
      component: () => import(/* webpackChunkName: "LSD.bighome" */ '../views/indexs/index.vue'),
    }
  ]
},
//新增路由
{
  path: '/index/yujing-list',
  name: 'YujingList',
  component: () => import(/* webpackChunkName: "image-list" */ '../views/indexs/YujingList.vue'),
},
{
  path: '/index/image-list',
  name: 'ImageList',
  component: () => import(/* webpackChunkName: "image-list" */ '../views/indexs/down_index.vue'),
},
{
  path: '/index/image-ground-list',
  name: 'ImageGroundList',
  component: () => import(/* webpackChunkName: "image-list" */ '../views/indexs/down_ground_index.vue'),
},
{
  path: '/index/video-list',
  name: 'VideoList',
  component: () => import(/* webpackChunkName: "video-list" */ '../views/indexs/video_index.vue'),
},
{
  path: '/index/image2-list',
  name: 'Image2List',
  component: () => import(/* webpackChunkName: "image-list" */ '../views/indexs/down2_index'),
},
{
  path: '/index/echart-list',
  name: 'echartList',
  component: () => import(/* webpackChunkName: "echart-list" */ '../views/indexs/echart_index'),
},
{
  path: '/index/echart-strain',
  name: 'echartStrain',
  component: () => import(/* webpackChunkName: "echart-list" */ '../views/indexs/echart_strain'),
},
{
  path: '/index/echart-stress',
  name: 'echartStress',
  component: () => import(/* webpackChunkName: "echart-list" */ '../views/indexs/echart_stress'),
}
];

const router = new VueRouter({
  mode: "hash",
  // base: process.env.BASE_URL,
  routes
});

export default router;